package com.bite.aop.proxy;


import com.bite.aop.aspect.TimeRecord;
import org.springframework.stereotype.Component;

@Component
public class RealHouseSubject implements HouseSubject{
    @TimeRecord
    @Override
    public void rent() {
        System.out.println("我是房东, 我出租房子");
    }

    @Override
    public void sale() {
        System.out.println("我是房东, 我出售房子");
    }
}
